/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package folders2;

/**
 *
 * @author Administrator
 */
public interface RootFolders2Interface {

    /**
     * I don't use it (excess code)
     * Create folder for new account in mail server in root folder
     * @param UserId represents folder name
     * @return reference of the folder created
     */
    ProjectFile createAccountFolder(String UserId);

    /**
     * This method is used to create root foders
     */
    void createRootFolders();

    /**
     * I don't use it (excess code)
     * Create folder for new message in temp folder
     * @param message new message name
     * @return refernce to this message
     */
    ProjectFile createTempFolder(String message);

    /**
     * This method is used to get reference to root folder
     * which contains all users folders
     * @return reference to root folder
     */
    ProjectFile getRoot();

    /**
     * This method is used to get reference to temp folder
     * which contains all sent messages
     * @return reference to temp folder
     */
    ProjectFile getTemp();

    /**
     * This method is used to set reference of root folders(i don't need to use it)
     * @param root new reference to root folder
     */
    void setRoot(ProjectFile root);

    /**
     * This method is used to set new reference of temp folders(i don't need to use it)
     * @param temp new reference of temp folders
     */
    void setTemp(ProjectFile temp);

}
